package com.avcdata.national.module;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;

/**
 * NewAOSApp
 * com.avcdata.national.module
 * Created by lic on 2017/8/24.
 * CSDN http://blog.csdn.net/lucasey
 */

public class ScaleRationTrendInfo implements Serializable {

    public returnValue returnValue;
    public String success;
    public boolean secretKey;

    public ScaleRationTrendInfo.returnValue getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(ScaleRationTrendInfo.returnValue returnValue) {
        this.returnValue = returnValue;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public boolean isSecretKey() {
        return secretKey;
    }

    public void setSecretKey(boolean secretKey) {
        this.secretKey = secretKey;
    }

    public class returnValue{
        public ArrayList<String> weeks;
        public HashMap<String,ArrayList<brandsDetails>> dataMap;

        public ArrayList<String> getWeeks() {
            return weeks;
        }

        public void setWeeks(ArrayList<String> weeks) {
            this.weeks = weeks;
        }

        public HashMap<String,ArrayList<brandsDetails>> getIndustryBrandOverviewBoTable() {
            return dataMap;
        }

        public void setIndustryBrandOverviewBoTable(HashMap<String,ArrayList<brandsDetails>> dataMap) {
            this.dataMap = dataMap;
        }
    }


    public class brandsDetails {

        /**
         * yearWeek : 16W40
         * brand : all
         * volumeBasisRatio : 16.12
         * amountBasisRatio : 7
         */

        private String yearWeek;
        private String brand;
        private double volumeBasisRatio;
        private double amountBasisRatio;

        public String getYearWeek() {
            return yearWeek;
        }

        public void setYearWeek(String yearWeek) {
            this.yearWeek = yearWeek;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        public double getVolumeBasisRatio() {
            return volumeBasisRatio;
        }

        public void setVolumeBasisRatio(double volumeBasisRatio) {
            this.volumeBasisRatio = volumeBasisRatio;
        }

        public double getAmountBasisRatio() {
            return amountBasisRatio;
        }

        public void setAmountBasisRatio(double amountBasisRatio) {
            this.amountBasisRatio = amountBasisRatio;
        }
    }
}
